package com.itheima.a04ExtendsDemo1;

public class Test {
    public static void main(String[] args) {
        Zi zi1 = new Zi();
        Zi zi2 = new Zi("zhangsan",23);
    }
}

class Fu {
    String name;
    int age;


    public Fu() {
    }

    public Fu(String name, int age) {
        this.name = name;
        this.age = age;
    }
}

class Zi extends Fu{

    public Zi(String name, int age) {
    }

    public Zi() {}
}